package com.egao.common.component.elasticsearch.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * ElasticSearch 数据容器
 * @author lym
 */
@Data
public class ElasticSearchData {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("搜索类型 1:新闻、2:公务员、3:校园招聘")
    private String type;

    @ApiModelProperty("信息类型 招聘、宣讲会等")
    private String category;

    @ApiModelProperty("信息类型名称")
    private String categoryName;

    @ApiModelProperty("子类别")
    private String subcategory;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("链接地址")
    private String url;

    @ApiModelProperty("时间")
    private Date createTime;

    @ApiModelProperty("需求专业")
    private String major;

    @ApiModelProperty("招聘学历限制")
    private String education;

    @ApiModelProperty("招聘人数")
    private String number;

    @ApiModelProperty("主办方")
    private String companyName;

    @ApiModelProperty("举办时间")
    private String holdTime;

    @ApiModelProperty("招聘职位")
    private String positionNames;

    @ApiModelProperty("直播地址/举办地址")
    private String address;

}
